package com.cqupt.scanning.system.acl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqupt.scanning.system.acl.entity.AclPermission;

import java.util.List;

/**
 * <p>
 * 权限 Mapper 接口
 * </p>
 *
 * @author 宋宝梁
 * @since 2021-07-05
 */
public interface AclPermissionMapper extends BaseMapper<AclPermission> {

    List<AclPermission> selectPermissionValueByUserId(Integer userId);

    List<AclPermission> getPermissionsByRoleId(Integer roleId);
}
